using SqlSugar;

namespace Catastrophe.BasePC.UI.Model
{
	[SugarTable("sys_role_authority")]
	public class SysRoleAuthorityEntity
	{
		[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
		public int Id { get; set; }

		[SugarColumn(ColumnName = "base_index")]
		public int BaseIndex { get; set; } = -1;


		[SugarColumn(ColumnName = "parent_index")]
		public int ParentIndex { get; set; }

		[SugarColumn(ColumnName = "node_name")]
		public string NodeName { get; set; }

		[SugarColumn(ColumnName = "node_state")]
		public bool NodeState { get; set; }

		[SugarColumn(ColumnName = "user_name")]
		public string UserName { get; set; }

		[SugarColumn(ColumnName = "user_no")]
		public string UserNo { get; set; }

		[SugarColumn(ColumnName = "depart")]
		public string Depart { get; set; }

		[SugarColumn(ColumnName = "identity")]
		public string Identity { get; set; }

		[SugarColumn(ColumnName = "authorize_type")]
		public string AuthorizeType { get; set; }

		[SugarColumn(ColumnName = "assembly_name")]
		public string AssemblyName { get; set; }

		[SugarColumn(ColumnName = "property_name")]
		public string PropertyName { get; set; }

		[SugarColumn(ColumnName = "ignore")]
		public bool Ignore { get; set; }
	}
}
